package model;

import com.googlecode.objectify.annotation.Serialized;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Id;

public class Category
implements Serializable
{
	@Id
	private Long ID;
	private String name;
	
	@Serialized
	private List<Category> parentCategories;
	
	public Long getID()
	{
		return ID;
	}
	public void setID(Long pID)
	{
		ID = pID;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String pName)
	{
		name = pName;
	}
	public List<Category> getCategories()
	{
		return parentCategories;
	}
	public void setCategories(List<Category> pCategories)
	{
		parentCategories = pCategories;
	}	
}
